import { insertScores } from "./services/apiScore.js";
import { getStudent, insertStudents } from "./services/apiStudent.js";
import { generateTeacher } from "./services/ApiTeacher.js";
import { generateTeachers } from "./services/ApiTeacher.js";
import { insertTeachers } from "./services/ApiTeacher.js";

// 查询一条学生数据
// const data = await getStudent();
// console.log(data);

// 新增一条教师数据
// const teacher = generateTeacher();
// console.log(teacher);

// 新增多条教师数据
// const teachers = generateTeachers();
// console.log(teachers);

//插入多条教师数据
// const data = await insertTeachers(10);
// console.log(data);

// 新增一条学生数据
// const student = generateStudent();
// console.log(student);

// 新增多条学生数据
// const students = generateStudents();
// console.log(students);

//插入多条学生数据
// const data = await insertStudents(10);
// console.log(data);

// 新增多条分数数据
const data = await insertScores(10);
console.log(data);
